package fms.msgupcenter.protocols.downlinkrej;

/**
 * Created with IntelliJ IDEA.
 * User: adcc
 * Date: 14-6-10
 * Time: 上午11:14
 * To change this template use File | Settings | File Templates.
 */

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;

/**
 * 下行拒绝报协议内容头
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class DownLinkRejHead {
    @XmlAttribute(name="fi")
    private String fi;    //航班号

    @XmlAttribute(name="an")
    private String an;    //   机尾号
    @XmlAttribute(name="rcvAddress")
    private String rcvaddress;
    @XmlAttribute(name="sndAddress")
    private String sndaddress;
    @XmlAttribute(name="smi")
    private String smi;
    @XmlAttribute(name="dsp")
    private String dsp;
    @XmlAttribute(name="rgs")
    private String rgs;
    @XmlAttribute(name="rgsTime")
    private String rgstime;
    @XmlAttribute(name="appName")
    private String appname;

    public String getFi() {
        return fi;
    }

    public void setFi(String fi) {
        this.fi = fi;
    }

    public String getAn() {
        return an;
    }

    public void setAn(String an) {
        this.an = an;
    }

    public String getRcvaddress() {
        return rcvaddress;
    }

    public void setRcvaddress(String rcvaddress) {
        this.rcvaddress = rcvaddress;
    }

    public String getSndaddress() {
        return sndaddress;
    }

    public void setSndaddress(String sndaddress) {
        this.sndaddress = sndaddress;
    }

    public String getSmi() {
        return smi;
    }

    public void setSmi(String smi) {
        this.smi = smi;
    }

    public String getDsp() {
        return dsp;
    }

    public void setDsp(String dsp) {
        this.dsp = dsp;
    }

    public String getRgs() {
        return rgs;
    }

    public void setRgs(String rgs) {
        this.rgs = rgs;
    }

    public String getRgstime() {
        return rgstime;
    }

    public void setRgstime(String rgstime) {
        this.rgstime = rgstime;
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public DownLinkRejHead(){
        this.an = "";
        this.fi = "";
        this.rcvaddress = "";
        this.sndaddress = "";
        this.smi = "";
        this.dsp = "";
        this.rgs = "";
        this.rgstime = "";
        this.appname = "";
    }
    public DownLinkRejHead(
            String an,
            String fi,
            String rcvaddress,
            String sndaddress,
            String smi,
            String dsp,
            String rgs,
            String rgstime,
            String appname
    ){
        this.an = an;
        this.fi = fi;
        this.rcvaddress = rcvaddress;
        this.sndaddress = sndaddress;
        this.smi = smi;
        this.dsp = dsp;
        this.rgs = rgs;
        this.rgstime = rgstime;
        this.appname = appname;
    }
}
